package com.gzhryc.shared_device.cdb.api.protocol;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

public class CDBHttpLeaseRequest extends SecurityRequest<CDBHttpLeaseRequest.Body> {

	private static final long serialVersionUID = 1L;
	
	public CDBHttpLeaseRequest() {
		this.body = new Body();
	}
	
	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private String deviceSn;
		private Integer slotNum;
		private String tradeNo;

		public String getDeviceSn() {
			return deviceSn;
		}

		public void setDeviceSn(String deviceSn) {
			this.deviceSn = deviceSn;
		}

		public Integer getSlotNum() {
			return slotNum;
		}

		public void setSlotNum(Integer slotNum) {
			this.slotNum = slotNum;
		}

		public String getTradeNo() {
			return tradeNo;
		}

		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}

	}
}
